package dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pojo.WlAdvertisement;
import pojo.WlAdvertisementExample;

public interface WlAdvertisementMapper {
    int countByExample(WlAdvertisementExample example);

    int deleteByExample(WlAdvertisementExample example);

    int deleteByPrimaryKey(String id);

    int insert(WlAdvertisement record);

    int insertSelective(WlAdvertisement record);

    List<WlAdvertisement> selectByExample(WlAdvertisementExample example);

    WlAdvertisement selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WlAdvertisement record, @Param("example") WlAdvertisementExample example);

    int updateByExample(@Param("record") WlAdvertisement record, @Param("example") WlAdvertisementExample example);

    int updateByPrimaryKeySelective(WlAdvertisement record);

    int updateByPrimaryKey(WlAdvertisement record);
}